Skip to content

Nodejs version Upgrade to 20#2650

Open
jainakanksha-msft wants to merge 9 commits into
mainfrom
akkuNodejsUpgrade
Open

Nodejs version Upgrade to 20#2650
jainakanksha-msft wants to merge 9 commits into
mainfrom
akkuNodejsUpgrade

Conversation

@jainakanksha-msft
Copy link
Copy Markdown
Collaborator

No description provided.

Copilot AI review requested due to automatic review settings May 28, 2026 11:45
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR raises Azurite’s declared Node.js runtime floor to Node 20 and updates PR validation coverage to newer Node.js versions.

Changes:

  • Updates package.json engines.node from >=10.0.0 to >=20.0.0.
  • Reworks GitHub Actions PR validation jobs to run primarily against Node 20, 22, and 24.
  • Updates workflow formatting and command indentation.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.

File Description
package.json Raises the package’s minimum supported Node.js version.
.github/workflows/PrValidation.yml Updates CI job names and Node versions used for validation.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread package.json Outdated
Comment thread .github/workflows/PrValidation.yml
Comment thread .github/workflows/PrValidation.yml
Copilot AI review requested due to automatic review settings June 3, 2026 12:19
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 8 out of 9 changed files in this pull request and generated 8 comments.

Comment thread scripts/buildLinux.js Outdated
Comment thread scripts/buildLinux.js
Comment thread scripts/buildLinux.js
Comment thread scripts/buildExe.js
Comment thread scripts/buildExe.js Outdated
Comment thread package.json
Comment on lines 18 to 21
"engines": {
"node": ">=10.0.0",
"node": ">=21.0.0",
"vscode": "^1.39.0"
},
Comment thread README.md
Comment on lines +995 to +1001
Azurite binary builds now use Node.js SEA (Single Executable Applications) with `esbuild` and `postject`.

Prerequisites:

- Node.js 24.x (required for local SEA binary build scripts)
- Installed dependencies (`npm ci`)
- Built TypeScript output (`npm run build`) so `dist/src/azurite.js` exists
Comment thread azure-pipelines.yml
Comment on lines 52 to +56
matrix:
node_16_x:
node_version: 16.x
node_18_x:
node_version: 18.x
node_24_x:
node_version: 24.x
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings June 3, 2026 12:26
jainakanksha-msft and others added 3 commits June 3, 2026 17:58
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 8 out of 9 changed files in this pull request and generated 5 comments.

Comment thread scripts/buildLinux.js Outdated
Comment on lines +77 to +81
async function runAudit() {
await runEsbuildAudit(distEntry, `node${process.versions.node.split('.')[0]}`);
auditDynamicImports(path.resolve('./dist/src'));
}
}
Comment thread scripts/buildLinux.js
bundle: true,
target: [`node${process.versions.node.split('.')[0]}`],
external: optionalExternalModules,
outfile: outputPath,
Comment thread package.json
Comment on lines 18 to 20
"engines": {
"node": ">=10.0.0",
"node": ">=21.0.0",
"vscode": "^1.39.0"
Comment thread azure-pipelines.yml
Comment on lines 53 to +56
node_16_x:
node_version: 16.x
node_18_x:
node_version: 18.x
node_24_x:
node_version: 24.x
Comment thread scripts/buildExe.js Outdated
jainakanksha-msft and others added 2 commits June 4, 2026 12:18
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings June 4, 2026 10:32
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 8 out of 9 changed files in this pull request and generated 3 comments.

Comment thread scripts/buildExe.js
Comment on lines +95 to +103
await esbuild.build({
entryPoints: [distEntry],
bundle: true,
target: [`node${process.versions.node.split('.')[0]}`],
external: optionalExternalModules,
outfile: outputPath,
sourcemap: false,
minify: false
});
Comment thread package.json
Comment on lines 18 to 21
"engines": {
"node": ">=10.0.0",
"node": ">=21.0.0",
"vscode": "^1.39.0"
},
Comment thread README.md
Comment on lines +999 to +1001
- Node.js 24.x (required for local SEA binary build scripts)
- Installed dependencies (`npm ci`)
- Built TypeScript output (`npm run build`) so `dist/src/azurite.js` exists
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants